/*
========================================================================
 Name        : ExportContactsListBoxView.h
 Author      : etouch.cc
 Copyright   : etouch.cc,All Right Reserved!
 Description : 
========================================================================
*/
#ifndef EXPORTCONTACTSLISTBOXVIEW_H
#define EXPORTCONTACTSLISTBOXVIEW_H

#include <aknview.h>
 
class CExportContactsListBox;
class ContactEngine;						
			
class CExportContactsListBoxView : public CAknView
{
public:	 
	CExportContactsListBoxView();
	static CExportContactsListBoxView* NewL();
	static CExportContactsListBoxView* NewLC();        
	void ConstructL();
	virtual ~CExportContactsListBoxView(); 
	TUid Id() const;
	void HandleCommandL( TInt aCommand ); 
	CExportContactsListBox* CreateContainerL();
	 
public:
	void SetContactEngine(ContactEngine* aContactEngine);
	
protected:	 
	void DoActivateL(const TVwsViewId& aPrevViewId,	TUid aCustomMessageId,const TDesC8& aCustomMessage );
	void DoDeactivate();
	void HandleStatusPaneSizeChange();
	void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
	
private:
	void SetupStatusPaneL();
	void CleanupStatusPane();
	
private:	 
	CExportContactsListBox* iExportContactsListBox;	
	ContactEngine*			iContactEngine;				//Not owned
};

#endif // EXPORTCONTACTSLISTBOXVIEW_H
